package com.haoze.nurse.vo;

import java.util.List;
import java.util.Map;

/**
 * 接收前端病历模板信息
 * @author fcx
 * @date 2019年3月9日13:30:03
 */
public class EmrTemplateDetailVO {

    private String tplId; // 病历模板id
    private String tplName; // 病历模板名称
    private String tplDetailId; // 病历模板明细id
    private Integer sortId; // 排序
    private String datasetId; // 数据集数据ID
    private String baseTplDetailId;
    private String elementId; // 数据元数据ID
    private String elementName; // 数据元名称
    private String elementRemark; // 定义，，，数据元含义描述
    private String elementDataTypeId; // 定义，，，数据元含义描述
    private String parentElementId; // 上级数据元ID
    private String quoteDatasetId; // 引用数据集ID
    private String quoteElementId; // 引用数据元ID
    private String quoteElementText; // 引用数据元Text
    private String quoteFormateValue;
    private String quoteTplDetailId; // 引用数据元模板数据ID
    private String dataValue; // 数据文本值
    private String dataCode; // 数据文本编码
    private String showIdentification; // 0-不显示，1-显示
    private String printIdentification; // 0-不打印，1-打印
    private String deleteIdentification;
    private String inputFlag; // 是否可以输入文本：0-可以，1-不可以
    private String multipleFlag; // 值域是否可以多选，0-可以，1-不可以
    private String maxValue; // 值上限
    private String minValue; // 值下限
    private String intervalValue; // 值最小间隔数
    private String elementType; // 数据元类型:2-关联值域，4-关联字典
    private String parentTplDetailId; // 数据元类型:2-关联值域，4-关联字典
    private String elementProperty;
    private String medicalId;
    private String varCode;
    private String type;
    private String classNameId;
    private String onlyId;
    private String dataNo;
    private String localType;
    private String needChanged;
    private String quoteNodeType;//3数据集下的数据元，4病历目录，5当前模板
    private List<Map<String, Object>> attribute;
    private List<EmrTemplateDetailVO> children;
    private String showType;//模板展示方式：0-平铺方式，1-树形加载方式
    private String updateFlag;
    private String elementPropertyFormat;
    private String deletable;// 模板内删除属性 0-可删除，1-不可删除
    private String quoteDetailType;//0全院;1科室自身
    private String unit;

    public String getDeletable() {
        return deletable;
    }

    public void setDeletable(String deletable) {
        this.deletable = deletable;
    }

    public String getTplId() {
        return tplId;
    }

    public void setTplId(String tplId) {
        this.tplId = tplId;
    }

    public String getTplDetailId() {
        return tplDetailId;
    }

    public void setTplDetailId(String tplDetailId) {
        this.tplDetailId = tplDetailId;
    }

    public Integer getSortId() {
        return sortId;
    }

    public void setSortId(Integer sortId) {
        this.sortId = sortId;
    }

    public String getDatasetId() {
        return datasetId;
    }

    public void setDatasetId(String datasetId) {
        this.datasetId = datasetId;
    }

    public String getElementId() {
        return elementId;
    }

    public void setElementId(String elementId) {
        this.elementId = elementId;
    }

    public String getElementName() {
        return elementName;
    }

    public void setElementName(String elementName) {
        this.elementName = elementName;
    }

    public String getElementRemark() {
        return elementRemark;
    }

    public void setElementRemark(String elementRemark) {
        this.elementRemark = elementRemark;
    }

    public String getParentElementId() {
        return parentElementId;
    }

    public void setParentElementId(String parentElementId) {
        this.parentElementId = parentElementId;
    }

    public String getQuoteDatasetId() {
        return quoteDatasetId;
    }

    public void setQuoteDatasetId(String quoteDatasetId) {
        this.quoteDatasetId = quoteDatasetId;
    }

    public String getQuoteElementId() {
        return quoteElementId;
    }

    public void setQuoteElementId(String quoteElementId) {
        this.quoteElementId = quoteElementId;
    }

    public String getDataValue() {
        return dataValue;
    }

    public void setDataValue(String dataValue) {
        this.dataValue = dataValue;
    }

    public String getDataCode() {
        return dataCode;
    }

    public void setDataCode(String dataCode) {
        this.dataCode = dataCode;
    }

    public String getShowIdentification() {
        return showIdentification;
    }

    public void setShowIdentification(String showIdentification) {
        this.showIdentification = showIdentification;
    }

    public String getPrintIdentification() {
        return printIdentification;
    }

    public void setPrintIdentification(String printIdentification) {
        this.printIdentification = printIdentification;
    }

    public List<EmrTemplateDetailVO> getChildren() {
        return children;
    }

    public void setChildren(List<EmrTemplateDetailVO> children) {
        this.children = children;
    }

    public String getInputFlag() {
        return inputFlag;
    }

    public void setInputFlag(String inputFlag) {
        this.inputFlag = inputFlag;
    }

    public String getMultipleFlag() {
        return multipleFlag;
    }

    public void setMultipleFlag(String multipleFlag) {
        this.multipleFlag = multipleFlag;
    }

    public String getMaxValue() {
        return maxValue;
    }

    public void setMaxValue(String maxValue) {
        this.maxValue = maxValue;
    }

    public String getMinValue() {
        return minValue;
    }

    public void setMinValue(String minValue) {
        this.minValue = minValue;
    }

    public String getIntervalValue() {
        return intervalValue;
    }

    public void setIntervalValue(String intervalValue) {
        this.intervalValue = intervalValue;
    }

    public String getElementType() {
        return elementType;
    }

    public void setElementType(String elementType) {
        this.elementType = elementType;
    }

    public List<Map<String, Object>> getAttribute() {
        return attribute;
    }

    public void setAttribute(List<Map<String, Object>> attribute) {
        this.attribute = attribute;
    }

    public String getQuoteTplDetailId() {
        return quoteTplDetailId;
    }

    public void setQuoteTplDetailId(String quoteTplDetailId) {
        this.quoteTplDetailId = quoteTplDetailId;
    }

    public String getParentTplDetailId() {
        return parentTplDetailId;
    }

    public void setParentTplDetailId(String parentTplDetailId) {
        this.parentTplDetailId = parentTplDetailId;
    }

    public String getTplName() {
        return tplName;
    }

    public void setTplName(String tplName) {
        this.tplName = tplName;
    }

    public String getElementDataTypeId() {
        return elementDataTypeId;
    }

    public void setElementDataTypeId(String elementDataTypeId) {
        this.elementDataTypeId = elementDataTypeId;
    }

    public String getBaseTplDetailId() {
        return baseTplDetailId;
    }

    public void setBaseTplDetailId(String baseTplDetailId) {
        this.baseTplDetailId = baseTplDetailId;
    }

    public String getQuoteElementText() {
        return quoteElementText;
    }

    public void setQuoteElementText(String quoteElementText) {
        this.quoteElementText = quoteElementText;
    }

    public String getDeleteIdentification() {
        return deleteIdentification;
    }

    public void setDeleteIdentification(String deleteIdentification) {
        this.deleteIdentification = deleteIdentification;
    }

    public String getElementProperty() {
        return elementProperty;
    }

    public void setElementProperty(String elementProperty) {
        this.elementProperty = elementProperty;
    }

    public String getMedicalId() {
        return medicalId;
    }

    public void setMedicalId(String medicalId) {
        this.medicalId = medicalId;
    }

    public String getVarCode() {
        return varCode;
    }

    public void setVarCode(String varCode) {
        this.varCode = varCode;
    }

    public String getQuoteFormateValue() {
        return quoteFormateValue;
    }

    public void setQuoteFormateValue(String quoteFormateValue) {
        this.quoteFormateValue = quoteFormateValue;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getClassNameId() {
        return classNameId;
    }

    public void setClassNameId(String classNameId) {
        this.classNameId = classNameId;
    }

    public String getOnlyId() {
        return onlyId;
    }

    public void setOnlyId(String onlyId) {
        this.onlyId = onlyId;
    }

    public String getDataNo() {
        return dataNo;
    }

    public void setDataNo(String dataNo) {
        this.dataNo = dataNo;
    }

    public String getLocalType() {
        return localType;
    }

    public void setLocalType(String localType) {
        this.localType = localType;
    }

    public String getShowType() {
        return showType;
    }

    public void setShowType(String showType) {
        this.showType = showType;
    }

    public String getNeedChanged() {
        return needChanged;
    }

    public void setNeedChanged(String needChanged) {
        this.needChanged = needChanged;
    }

    public String getUpdateFlag() {
        return updateFlag;
    }

    public void setUpdateFlag(String updateFlag) {
        this.updateFlag = updateFlag;
    }

    public String getQuoteNodeType() {
        return quoteNodeType;
    }

    public void setQuoteNodeType(String quoteNodeType) {
        this.quoteNodeType = quoteNodeType;
    }

    public String getElementPropertyFormat() {
        return elementPropertyFormat;
    }

    public void setElementPropertyFormat(String elementPropertyFormat) {
        this.elementPropertyFormat = elementPropertyFormat;
    }

    public String getQuoteDetailType() {
        return quoteDetailType;
    }

    public void setQuoteDetailType(String quoteDetailType) {
        this.quoteDetailType = quoteDetailType;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    @Override
    public String toString() {
        return "EmrTemplateDetailVO{" +
                "tplId='" + tplId + '\'' +
                ", tplName='" + tplName + '\'' +
                ", tplDetailId='" + tplDetailId + '\'' +
                ", sortId=" + sortId +
                ", datasetId='" + datasetId + '\'' +
                ", baseTplDetailId='" + baseTplDetailId + '\'' +
                ", elementId='" + elementId + '\'' +
                ", elementName='" + elementName + '\'' +
                ", elementRemark='" + elementRemark + '\'' +
                ", elementDataTypeId='" + elementDataTypeId + '\'' +
                ", parentElementId='" + parentElementId + '\'' +
                ", quoteDatasetId='" + quoteDatasetId + '\'' +
                ", quoteElementId='" + quoteElementId + '\'' +
                ", quoteElementText='" + quoteElementText + '\'' +
                ", quoteFormateValue='" + quoteFormateValue + '\'' +
                ", quoteTplDetailId='" + quoteTplDetailId + '\'' +
                ", dataValue='" + dataValue + '\'' +
                ", dataCode='" + dataCode + '\'' +
                ", showIdentification='" + showIdentification + '\'' +
                ", printIdentification='" + printIdentification + '\'' +
                ", deleteIdentification='" + deleteIdentification + '\'' +
                ", inputFlag='" + inputFlag + '\'' +
                ", multipleFlag='" + multipleFlag + '\'' +
                ", maxValue='" + maxValue + '\'' +
                ", minValue='" + minValue + '\'' +
                ", intervalValue='" + intervalValue + '\'' +
                ", elementType='" + elementType + '\'' +
                ", parentTplDetailId='" + parentTplDetailId + '\'' +
                ", elementProperty='" + elementProperty + '\'' +
                ", medicalId='" + medicalId + '\'' +
                ", varCode='" + varCode + '\'' +
                ", type='" + type + '\'' +
                ", classNameId='" + classNameId + '\'' +
                ", onlyId='" + onlyId + '\'' +
                ", dataNo='" + dataNo + '\'' +
                ", localType='" + localType + '\'' +
                ", needChanged='" + needChanged + '\'' +
                ", quoteNodeType='" + quoteNodeType + '\'' +
                ", attribute=" + attribute +
                ", children=" + children +
                ", showType='" + showType + '\'' +
                ", updateFlag='" + updateFlag + '\'' +
                ", elementPropertyFormat='" + elementPropertyFormat + '\'' +
                ", deletable='" + deletable + '\'' +
                ", quoteDetailType='" + quoteDetailType + '\'' +
                '}';
    }
}
